import Vue from 'vue'
import Element from 'element-ui'
import locale from 'element-ui/lib/locale/lang/zh-CN'
import { Message, Loading } from 'element-ui'
// 挂载到$message上
Vue.prototype.$message = Message
Vue.prototype.$loading = Loading
Vue.use(Element, { locale })
